package cn.seaboot.admin.base.bean;

import cn.seaboot.commons.lang.TreeNode;
import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;

/**
 * POJO
 * 通用 - 数据量查询
 *
 * @author ChenSS on 2018/6/20.
 */
@Schema(description = "数据量查询结果")
public class DataCount implements Serializable {

    private static final long serialVersionUID = 370502973919538518L;
    /**
     * 一级分类
     */
    @Schema(description = "一级分类")
    private String type;
    /**
     * 二级分类
     */
    @Schema(description = "二级分类")
    private String field;
    /**
     * 数据量
     */
    @Schema(description = "数据量")
    private Integer count;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getField() {
        return field;
    }

    public void setField(String field) {
        this.field = field;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    @Override
    public String toString() {
        return "DeviceCount{" +
                "type=" + type +
                ", field=" + field +
                ", count='" + count + '\'' +
                '}';
    }
}
